package pers.corvey.studyjava.util;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class ToStringUtils {

    private static final ToStringStyle TO_STRING_STYLE = ToStringStyle.MULTI_LINE_STYLE;
    
    public static String objectToString(Object obj) {
        return ToStringBuilder.reflectionToString(obj, TO_STRING_STYLE);
    }
    
}
